package com.hq.fxh.Modle;

import java.util.List;

/**
 * /**
 *
 * @author 薛
 * @ClassName
 * @Description :
 * @Created 2017/8/25
 * @Email xlwenhao1858@sina.com
 */


public class PlateContentModle {
    /**
     * code : 0
     * msg : succ
     * data : {"post_id":2,"member_id":0,"title":"帖子数据结构演示","category_first_id":1,"category_first_name":"人文自然","category_second_id":2,"category_second_name":"艺术","content":[{"num":1,"text":"我是第1段落的内容,我有3张图","imgs":["http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png"]},{"num":2,"text":"我是第2段落内容，我有1张图","imgs":["http://www.ledianduo.com/Content/images/codeimg.png"]},{"num":3,"text":"我是第3段落内容,我没有图","imgs":[]}],"num_read":0,"num_comment":0}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * post_id : 2
         * member_id : 0
         * title : 帖子数据结构演示
         * category_first_id : 1
         * category_first_name : 人文自然
         * category_second_id : 2
         * category_second_name : 艺术
         * content : [{"num":1,"text":"我是第1段落的内容,我有3张图","imgs":["http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png"]},{"num":2,"text":"我是第2段落内容，我有1张图","imgs":["http://www.ledianduo.com/Content/images/codeimg.png"]},{"num":3,"text":"我是第3段落内容,我没有图","imgs":[]}]
         * num_read : 0
         * num_comment : 0
         */

        private int post_id;
        private int member_id;
        private String title;
        private int category_first_id;
        private String category_first_name;
        private int category_second_id;
        private String category_second_name;
        private int num_read;
        private int num_comment;
        private List<ContentBean> content;

        public int getPost_id() {
            return post_id;
        }

        public void setPost_id(int post_id) {
            this.post_id = post_id;
        }

        public int getMember_id() {
            return member_id;
        }

        public void setMember_id(int member_id) {
            this.member_id = member_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getCategory_first_id() {
            return category_first_id;
        }

        public void setCategory_first_id(int category_first_id) {
            this.category_first_id = category_first_id;
        }

        public String getCategory_first_name() {
            return category_first_name;
        }

        public void setCategory_first_name(String category_first_name) {
            this.category_first_name = category_first_name;
        }

        public int getCategory_second_id() {
            return category_second_id;
        }

        public void setCategory_second_id(int category_second_id) {
            this.category_second_id = category_second_id;
        }

        public String getCategory_second_name() {
            return category_second_name;
        }

        public void setCategory_second_name(String category_second_name) {
            this.category_second_name = category_second_name;
        }

        public int getNum_read() {
            return num_read;
        }

        public void setNum_read(int num_read) {
            this.num_read = num_read;
        }

        public int getNum_comment() {
            return num_comment;
        }

        public void setNum_comment(int num_comment) {
            this.num_comment = num_comment;
        }

        public List<ContentBean> getContent() {
            return content;
        }

        public void setContent(List<ContentBean> content) {
            this.content = content;
        }

        public static class ContentBean {
            /**
             * num : 1
             * text : 我是第1段落的内容,我有3张图
             * imgs : ["http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png","http://www.ledianduo.com/Content/images/codeimg.png"]
             */

            private int num;
            private String text;
            private List<String> imgs;

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public List<String> getImgs() {
                return imgs;
            }

            public void setImgs(List<String> imgs) {
                this.imgs = imgs;
            }
        }
    }
}
